<?php
defined('BASEPATH') or exit('No direct script access allowed');

class Home extends MY_Controller {
    public function index()
    {
        $this->load->driver('cache', array('adapter' => 'redis', 'backup' => 'file'));

        var_dump($this->cache->save("a", 'b', 1000));
        var_dump($this->cache->get("a"));


    }
}
